package it.xiuxian.lib.utils.adapter.load;

import android.view.View;
/**
 * Created by linshuaibin on 22/05/2017.
 */
public abstract class LoadMoreViewCreator {

    private SlimMoreLoader loader;

    public void attachLoader(SlimMoreLoader loader) {
        this.loader = loader;
    }

    public void reload() {
        loader.loadMore();
    }

    public abstract View createLoadingView();

    public abstract View createNoMoreView();

    public abstract View createPullToLoadMoreView();

    public abstract View createErrorView();
}
